			<div id="main_login">
			<?php
				if (!$this->common->current_user()) {				
					echo form_open('authentication/login');
					echo '<table>';
					echo '<tr>';
					echo '<td class="label">'.form_label('Username', 'user').'</td>';
					echo '<td>'.form_input('user', '').'</td>';
					echo '</tr>';
					echo '<tr>';
					echo '<td class="label">'.form_label('Password', 'pass').'</td>';
					echo '<td>'.form_password('pass', '').'</td>';
					echo '</tr>';
					echo '<tr>';
					echo '<td></td><td>'.form_submit('submit', 'Login').nbs(1);
					echo form_reset('reset', 'Reset').'</td>';
					echo '</tr>';
					echo '</table>';
					echo form_close();
				} else {			
			?>	
				<p>
				<strong>USER</strong>: <?=$this->common->anchor_current_user()?><br />
				<strong>ROLE</strong>: <?=$this->common->anchor_current_role_desc()?><br />
				<br />
				<?=anchor_logout()?>
				</p>
			<?php

			}
			?>
			</div>